/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Administrator
 */
public class Simulation_Ground {
    private String flightNum;
    private String direction;
    private String runwayNum;
    
    public Simulation_Ground()
    {
        flightNum = null;
        direction = null;
        runwayNum = null;
    }
    
    public Simulation_Ground(String db_flightNum, String db_direction,
            String db_runwayNum)
    {
        flightNum = db_flightNum;
        direction = db_direction;
        runwayNum = db_runwayNum; 
    }
    
    public String takeoff1()
    {
        return (flightNum + ", push-back approved runway " + runwayNum
                + ", heading " + direction + ", QNH 2990");
    }
    
    public String takeoff2()
    {
        return (flightNum + ", request taxi. \n" + flightNum
                + " taxi to runway " + runwayNum);
    }
    
    public String takeoff3()
    {
        return (flightNum + ", cleared cross runway \n" + flightNum
                + " contact Tower 118.1 ");
    }
    
    public String stop()
    {
        return (flightNum + ", hold present position");
    }
    
    public String cont()
    {
        return (flightNum + ", continue taxing");
    }
    
    public String landing1(String landingFlight, String loc)
    {
        return (landingFlight + "taxi to " + loc);
    }
    
    public String StopTaxi()
    {
        return (flightNum + " hold present position.");
    }
    
    public String ContinueTaxi()
    {
        return (flightNum + " continue taxi.");
    }
    
    public String ChangeGate(String loc)
    {
        return (flightNum + " this is Ground, taxi to " + loc);
    }
}
